<script >
export default {
    data() {
        return {
            item: [
                { msg: '11111111' },
                { msg: '22222222' }
            ],
            object:{
                title:'big',
                author:'jack',
                time:'2019'
            }
        }
    }
}
</script>

<template>
    <ul>
        <li v-for="(items, index) in item">
            index:{{ index }} ------------
            msg:{{ items.msg }}
        </li>
    </ul>
    <div>-------------------------</div>
    <ul>
        <li v-for="(val,name,index) in object">
            value:{{ val }}
            -----name:{{ name }}  
            -----index:{{ index }}

        </li>
    </ul>
</template>

<style scoped></style>
